package pojo;

import java.util.Date;

/**
 * Weekplan entity. @author MyEclipse Persistence Tools
 */

public class Weekplan implements java.io.Serializable {

	// Fields

	private long planId;
	private User user;
	private Date planDate;
	private String planTitle;
	private String planContent;
	private String planNote;

	// Constructors

	/** default constructor */
	public Weekplan() {
	}

	/** full constructor */
	public Weekplan(User user, Date planDate, String planTitle,
			String planContent, String planNote) {
		this.user = user;
		this.planDate = planDate;
		this.planTitle = planTitle;
		this.planContent = planContent;
		this.planNote = planNote;
	}

	// Property accessors

	public long getPlanId() {
		return this.planId;
	}

	public void setPlanId(long planId) {
		this.planId = planId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Date getPlanDate() {
		return this.planDate;
	}

	public void setPlanDate(Date planDate) {
		this.planDate = planDate;
	}

	public String getPlanTitle() {
		return this.planTitle;
	}

	public void setPlanTitle(String planTitle) {
		this.planTitle = planTitle;
	}

	public String getPlanContent() {
		return this.planContent;
	}

	public void setPlanContent(String planContent) {
		this.planContent = planContent;
	}

	public String getPlanNote() {
		return this.planNote;
	}

	public void setPlanNote(String planNote) {
		this.planNote = planNote;
	}

}